@import './less/theme.less';

* {
  margin: 0;
  padding: 0;
}

ul,
ol,
li,
p {
  list-style: none;
  margin-bottom: 0;
}

a {
  text-decoration: none;
  color: inherit;
  &:hover {
    color: var(--primary-color);
  }
}

::-webkit-scrollbar-track {
  border-radius: 0;
  background: transparent;
}

::-webkit-scrollbar-thumb {
  border-radius: 0;
  border-radius: 0.5rem;
  background-color: transparent;
  transition: all 0.2s;
}

:hover::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-bg);
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background: transparent;
}

img {
  width: 100%;
}

.wrapper {
  height: 100vh;
  min-height: 100vh;

  header {
    height: 64px;
    width: 100%;
    background: var(--bg);
    display: flex;

    & > .header-content {
      width: 1140px;
      display: flex;
      align-items: center;
      margin: 0 auto;

      & > .header-icon {
        height: 64px;
        margin-right: 4rem;
        color: var(--main-text-color);
        line-height: 64px;
        text-align: left;

        img {
          width: 100px;
          height: 36px;
          vertical-align: middle;
          border-style: none;
        }
      }

      nav {
        display: flex;
        flex: 1;
        justify-content: space-between;
        align-items: center;
        color: var(--main-text-color);
        font-size: 16px;

        ul {
          display: flex;

          li {
            display: inline-flex;
            padding: 0 20px;
            vertical-align: middle;
            line-height: 64px;

            &:first-child {
              padding-left: 0;
            }

            &:hover,
            &.active {
              color: var(--primary-color);
            }

            a {
              color: inherit;
            }
          }
        }
      }
    }
  }

  footer {
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    color: #c1bdbd;
    background: var(--bg-footer);
    text-align: center;

    ul {
      display: inline-flex;
      flex-wrap: nowrap;
      margin: 8px 0 16px;

      li {
        display: inline-block;
        border-radius: 50%;
        margin: 0 5px;
        font-size: 24px;
        text-align: center;
      }
    }

    .moreinfo {
      font-size: 10px;
      line-height: 15px;
    }
  }

  & > main {
    min-height: calc(100% - 64px);
    background: var(--bg-body);
    display: flex;
    flex-direction: column;
  }
}

.container {
  margin-left: auto;
  margin-right: auto;

  & > div {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .container,
  .header-content {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
  }
}

@media (min-width: 768px) {
  .container,
  .header-content {
    width: 768px;
  }
}

@media (min-width: 992px) {
  .container,
  .header-content {
    width: 970px;
  }
}

//   @media ()
@media (max-width: 1072px) {
  .header-content {
    width: 970px;
    margin: 0 auto;
  }
}

@media (min-width: 1200px) {
  .container,
  .header-content {
    width: 1140px;
  }
}
